package com.flyxiaozhu.erp.core.entities;

import lombok.Data;
import org.hibernate.annotations.DynamicInsert;
import org.hibernate.annotations.DynamicUpdate;

import javax.persistence.Column;
import javax.persistence.Entity;

@Entity
@Data
@DynamicInsert
@DynamicUpdate
public class GoodsOrderDeliveryLog extends BaseEntity {
    @Column(columnDefinition = "int(11) NOT NULL DEFAULT 0 COMMENT '用户ID'")
    private long uid;

    @Column(columnDefinition = "varchar(32) NOT NULL DEFAULT '' COMMENT '用户姓名'")
    private String realname;

    @Column(columnDefinition = "text COMMENT '变更信息'")
    private String changedData;

    @Column(columnDefinition = "varchar(255) NOT NULL DEFAULT '' COMMENT '变更信息'")
    private String remark;
}
